package com.dailyblue.java.spring.boot.commons.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class JsonResult<T> implements Serializable {

    private Boolean success;
    private Integer code;
    private String errorMessage;
    private T data;
}
